package me.macd.mindoc.service;

import me.macd.mindoc.model.BookResult;
import me.macd.mindoc.model.Books;
import me.macd.mindoc.util.Page;

/**
 * Created by macd on 2018-09-22.
 */
public interface BookService {
    Page<BookResult> findForHomeToPager(int pageIndex, int pageSize, int memberId);
    Page<BookResult> findToPager(int pageIndex, int pageSize, int memberId);
    BookResult findByIdentify(String identify, int memberId);
    boolean existByIdentify(String identify);
    int insert(Books books);
}
